﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:Quellenverwaltung="clr-namespace:Quellenverwaltung" x:Class="Quellenverwaltung.UI.WPF.FindJournal" 
             mc:Ignorable="d" Height="510.4" Width="726.8"
    xmlns:wpf="clr-namespace:Quellenverwaltung.WPF">
    <UserControl.Resources>
        <!-- Flat Button Style -->
        <Style TargetType="{x:Type Button}" x:Key="FlatButtonStyle">
            <Setter Property="OverridesDefaultStyle" Value="True" />
            <Setter Property="Background" Value="{x:Null}" />
            <Setter Property="BorderThickness" Value="0" />
            <Setter Property="BorderBrush" Value="{x:Null}" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Border BorderThickness="{TemplateBinding BorderThickness}"
							BorderBrush="{TemplateBinding BorderBrush}"
							Background="{TemplateBinding Background}"
							Padding="{TemplateBinding Padding}"
							CornerRadius="0">
                            <ContentControl Content="{TemplateBinding Content}" />
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Background" Value="#FFA9D3F9" />
                </Trigger>
                <Trigger Property="IsPressed" Value="True">
                    <Setter Property="Background" Value="#FFA9D3F9" />
                </Trigger>
            </Style.Triggers>
        </Style>


    </UserControl.Resources>
    <Grid Margin="0,0,0.2,-0.4">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="Auto" MinHeight="39.675"/>
    		<RowDefinition/>
    	</Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <ScrollViewer HorizontalAlignment="Left" Margin="0,0,0,0.2" Grid.RowSpan="2" d:LayoutOverrides="Height" Width="335" Background="White" ScrollViewer.VerticalScrollBarVisibility="Auto">
    		<Grid>
    			<Grid x:Name="gridSearchingIndicator" HorizontalAlignment="Center" Height="77" VerticalAlignment="Top" Margin="0,30,0,0" Visibility="Collapsed" d:LayoutOverrides="VerticalAlignment, VerticalMargin">
    				<Quellenverwaltung:LoadingIndicator Margin="27,8.4,28.2,0" />
    				<TextBlock Margin="0,0,0,-36.537" TextWrapping="Wrap" Foreground="#FF00A3FF" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="13.333"><Run Language="de-de" Text="Informationen werden abgerufen..."/></TextBlock>
    			</Grid>
                <Quellenverwaltung:EditJournal x:Name="EditJournal" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="330" Height="Auto" Opacity="0.345"/>
    		</Grid>
    	</ScrollViewer>
        <WebBrowser x:Name="browser" Margin="339,3,-0.2,0.2" Grid.Row="1" Visibility="Hidden"/>
        <Grid Margin="331,8,-0.2,6.2" d:LayoutOverrides="Height">
            <TextBox x:Name="textBoxSearch" Margin="10,0" TextWrapping="Wrap" VerticalAlignment="Top" Text="" Padding="4,3,33,3" KeyUp="textBoxSearch_KeyUp" TextChanged="textBoxSearch_TextChanged" FontSize="13" TabIndex="1" Background="White" MinHeight="26"/>
            <Button x:Name="buttonSearch" Style="{DynamicResource FlatButtonStyle}" Margin="0,2,11.6,2.2" Foreground="Black" IsCancel="True" FontSize="14.667" Padding="4,4,0,0" Click="buttonSearch_Click" Grid.IsSharedSizeScope="True" VerticalContentAlignment="Center" HorizontalAlignment="Right" Width="32" >
                <Canvas x:Name="Lupe" HorizontalAlignment="Left" UseLayoutRounding="False" Width="23" Margin="0,-2.2,0,1.2" Height="20" VerticalAlignment="Center">
                    <Path Data="M18.1895,7.1934C18.1895,10.4894,15.5185,13.1604,12.2225,13.1604C8.9275,13.1604,6.2555,10.4894,6.2555,7.1934C6.2555,3.8984,8.9275,1.2264,12.2225,1.2264C15.5185,1.2264,18.1895,3.8984,18.1895,7.1934z" Height="14.434" Canvas.Left="5.6" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" StrokeThickness="2.5" StrokeMiterLimit="10" StrokeLineJoin="Miter" Width="14.434" Stroke="#FF484848"/>
                    <Path Data="M1.3579,17.7744L7.9009,11.2304" Height="9.044" StrokeStartLineCap="Flat" Stretch="Fill" StrokeEndLineCap="Flat" StrokeThickness="2.5" StrokeMiterLimit="10" StrokeLineJoin="Miter" Canvas.Top="10.4" Width="9.043" Stroke="#FF484848"/>
                </Canvas>
            </Button>
        </Grid>
        <Grid x:Name="InfoBox" Height="63" Margin="335,-5.8,9.4,0" VerticalAlignment="Top" Grid.Row="1">
            <TextBlock Margin="14,14,14,0" TextWrapping="Wrap" Foreground="#FF00A3FF" FontSize="13.333" HorizontalAlignment="Center"><Run Language="de-de" Text="Digital Object Identifier (DOI) oder URL des Journals hier eingeben"/></TextBlock>


        </Grid>


    </Grid>
</UserControl>
